divide-y

The divide-y class belongs to the divide color group within the borders category.

Example Usage

Here is an example of how to use divide-y:

<div class='flex text-black bg-gray-100 divide-x-4 divide-solid divide-y '>
  <div>some</div>
  <div>content</div>
  <div>as</div>
  <div>demo</div>
</div>
some
content
as
demo

Resulting CSS

--tw-divide-y-reverse: 0;
border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
border-bottom-width: calc(1px * var(--tw-divide-y-reverse));

Other Divide color Classes

Get Tailwind Scanner!

The absolute must-have tool for anyone using Tailwind CSS.

Scan, Edit, Export any tailwind site in browser to create the perfect UI - download the chrome extension!